<template>
  <div class="about">
    <h1>页面A</h1>
    <a @click="gotoB()" style="margin:0 15px">前往B</a>
    <a @click="gotoC()" style="margin:0 15px">前往C</a>
  </div>
</template>
<script>
export default {
  data () {
    return {
      
    }
  },
  mounted(){
    
  },
  methods: {
    gotoB(){
      this.$router.push({
        name:'B'
      })
    },
    gotoC(){
      this.$router.push({
        name:'C'
      })
    }
  }
}
</script>
